import { Level } from '../types/levelsTypes'

const {ccclass, property} = cc._decorator;

@ccclass
export default class DataNode extends cc.Component {
  // 关卡数据
  levels: Array<Level> = null
  // 当前关卡
  current: number = 0

  // LIFE-CYCLE CALLBACKS:

  onLoad () {
    cc.game.addPersistRootNode(this.node)
  }

  // start () {

  // }

  // update (dt) {}
}